package com.qfedu.food.service.intf;

import com.qfedu.food.pojo.TFood;

import java.util.List;

public interface CollectService {
    Integer getUidByUsername(String username);

    Integer getFidByFname(String fname);

    Integer addCollect(int uid , int fid);

    Integer getCollect(int uid , int fid);

    Integer delCollectByUidAndFid(int uid);

    Integer updateCollectByUidAndFid(int uid);

    List<Integer> getFidByUid(int uid);

    List<TFood> getFoodByid(List<Integer> fid);
}
